package com.example.june.zhanghaoguanli;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.longfly_example.e_scale.R;

public class Activity_sydl extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_sydl);

        Button bt_xs = (Button) findViewById(R.id.BT_xs);
        Button bt_zhgl = (Button) findViewById(R.id.BT_zhgl);
        Button bt_jhmx = (Button) findViewById(R.id.BT_jhmx);
        Button bt_spxx = (Button) findViewById(R.id.BT_spxx);
        Button bt_xsjl = (Button) findViewById(R.id.BT_xsjl);
        bt_xs.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent1 =new Intent(Activity_sydl.this,shopping.class);
                Activity_sydl.this.startActivity(intent1);
            }
        });
        bt_zhgl.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent2 =new Intent(Activity_sydl.this,Activity_zhgl.class);
                Activity_sydl.this.startActivity(intent2);
            }
        });
        bt_jhmx.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent3 =new Intent(Activity_sydl.this,Activity_jhmx.class);
                Activity_sydl.this.startActivity(intent3);
            }
        });
        bt_spxx.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent4 =new Intent(Activity_sydl.this,Activity_spxx.class);
                Activity_sydl.this.startActivity(intent4);
            }
        });
        bt_xsjl.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent5 =new Intent(Activity_sydl.this,Activity_xsjl.class);
                Activity_sydl.this.startActivity(intent5);
            }
        });
    }
}
